<template>
 <div>
  <p>name:{{ stores.obj.name }} </p>
  <p>age:{{ stores.obj.age }}</p>
  <button @click="stores.addAge">+1</button>
  <img src="" alt="">
 </div>

</template>

<script setup lang='ts'>
import {} from 'vue'
import {useTestStore} from './stores'
const stores=useTestStore()
</script>

<style lang='scss' scoped>

</style>
